{% extends 'oratk_app/master.html' %}
{% block tag_left %}
    {% include 'oratk_app/tag_left_user.html' %}
{% endblock %}
{% block title %}
    <title>ORATK</title>
{% endblock %}
{% block userinfo %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h2 class="page-header">监控时间添加</h2>
        <form class="form-horizontal" action={{ request.path }}   method="post">
            <div class="form-group">
                <label  class="col-sm-2 control-label">name：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="名称" name="add_name">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">Minute(s):</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Cron Minutes to Run. Use '*' for 'all'. (Example: '0,30')" name="add_minute" >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">Hour(s):</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control"  placeholder="Cron Hours to Run. Use '*' for 'all'. (Example: '8,20')" name="add_hour" >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">Day(s) Of The Week：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Cron Days Of The Week to Run. Use '*' for 'all'. (Example: '0,5')" name="add_day_of_week">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">Day(s) Of The Month：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Cron Days Of The Month to Run. Use '*' for 'all'. (Example: '1,15')" name="add_day_of_month">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">Month(s) Of The Year：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Cron Months Of The Year to Run. Use '*' for 'all'. (Example: '0,6')" name="add_month_of_year">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">Cron Timezone：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Timezone to Run the Cron Schedule on. Default is UTC." name="add_timezone" value="Asia/Shanghai">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">type：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="clocked/crontabs/intervals"  name="add_type">
                </div>
            </div>
            <div class="col-sm-10">
                <div style="text-align:center;vertical-align:middle;"><button type="submit" class="btn ">提交</button></div>
            </div>
        </form>
    </div>
{% endblock  %}